package com.itheima.object1;

public class PhoneTest {
    public static void main(String[] args) {
        Phone phone = new Phone();
        phone.setBrand("小米");
        phone.setColor("黑色");
        phone.setPrice(2499);

        String brand = phone.getBrand();
        String color = phone.getColor();
        int price = phone.getPrice();
        System.out.println(brand+""+color+""+price);

        phone.call();
        phone.seedMessage();
    }
}
